/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-10-19
*/
package com.rzico.business.service;

import com.rzico.base.BaseMapper;
import com.rzico.base.impl.BaseServiceImpl;
import com.rzico.business.entity.WfxxInfo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.rzico.business.mapper.WfxxInfoMapper;

import java.util.HashMap;
import java.util.Map;

/**
 * <pre>
 * 违法信息业务类
 * </pre>
 *
 * @author Rzico Boot
 * @version 1.0
 */
@Service
public class WfxxInfoService extends BaseServiceImpl<WfxxInfo, String> {

    protected Logger logger = LoggerFactory.getLogger(this.getClass());

    @Autowired
    private WfxxInfoMapper wfxxInfoMapper;

    @Override
    public BaseMapper<WfxxInfo, String> getMapper() {
        return wfxxInfoMapper;
    }

    public void processWfxx(){
        Map<String, Object> map = new HashMap<>();
        wfxxInfoMapper.processWfxx(map);
        logger.info("执行违法信息存储过程结果：{}", map.get("oMsg"));
    }
}
